<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>PIO- Administrador- Enviar correo a Profesores</title>
    <meta http-equiv="Content-Language" content="English" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="interfaz/style.css" media="screen" />
  </head>
    <%@include file="validacionAdmin.jsp" %>
  <body>
    <div id="wrap">

      <div id="header">
        <!--        <h1><a href="#">Website Title</a></h1>-->
      </div>

      <%@include file="tm.jsp" %>

      <div id="content">
        <div class="right"> 
          <h1> Enviar Correo a Profesores</h1>
          
          <html:form action="/EnviarEmailProf">
            <table border="0">
              <tbody>
                <tr>
                  <td style="width: 30%">Asunto:</td>
                  <td><html:text style="width: 100%" property="asunto" value ="" /></td>
                </tr>
                <tr>
                  <td>Mensaje:</td>
                  <td><html:textarea style="width: 100%;height: 120px" property="texto" value =""/></td>
                </tr>
              </tbody>
            </table>
                  <div class="center">
                    <input id="boton" type="button" value="Volver atras" onclick="location.href = 'adminProfesor.jsp'"/>
                    <html:submit styleId="boton" value="Enviar"/><BR/><BR/>
                    <bean:write name="Email" property="mensaje" filter="false"/>
                  </div>
          </html:form>

        </div>

        <%@include file="lm.jsp" %>

        <div style="clear: both;"> </div>

      </div>
    </div>

    <%@include file="footer.jsp" %>

  </body>
</html>